<?php use PHPCI\Helper\Lang; ?>
<?php if (isset($emailed)): ?>
    <p class="alert alert-success" style="margin-bottom: 0">
        <?php Lang::out('reset_emailed'); ?>
    </p>
<?php else: ?>
    <?php if (empty($error)): ?>
        <div class="" style="margin-bottom: 15px;">
            <?php Lang::out('reset_header'); ?>
        </div>
    <?php else: ?>
        <div class="alert alert-danger">
            <?php print $error; ?>
        </div>
    <?php endif; ?>

        <div class="">
            <form class="form" action="<?php print PHPCI_URL; ?>session/forgot-password" method="POST">
                <div class="form-group">
                    <label for="email"><?php Lang::out('reset_email_address'); ?></label>
                    <input id="email" name="email" class="form-control" required>
                </div>

                <div class="form-group">
                    <input class="btn btn-success" type="submit" value="<?php Lang::out('reset_send_email'); ?>">
                </div>
            </form>
        </div>


<?php endif; ?>